<!DOCTYPE html>
<html>
<head>
<title>{$uinfo.user_login} - 个人中心</title>
<meta name="keywords" content=""/>
<meta name="description" content="">
<include file="public@head"/>
<style>
.control-label {
	font-weight: bold;
	float: left;
	width: 70px;
}
</style>
</head>
<body class="body-white" id="top">
<include file="public@nav" />
	<div class="container tc-main">
		<div class="row">
			<div class="col-md-3">
				<include file="public@lsnav" />
			</div>
			<div class="col-md-9">
				<div class="tabs">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-list-alt"></i>个人中心</a></li>
					</ul>
					<div class="tab-content">
						<div class="tab-pane active" id="one">
							<br>
							<div class="row">
								<div class="col-md-3">
								<a href="">
									<if condition="empty($avatar)"> 
										<img src="__TMPL__/public/assets/images/headicon_128.png" class="headicon" width="128" />
									<else />
										<img src="__ROOT__/upload/{$avatar}" class="headicon" width="128"/>
									</if>
								</a>
							</div>
							<div class="col-md-9">
								<div class="form-group">
									<label class="control-label" for="input-user_nicename">昵称</label>
									<div>{$uinfo.user_login|default='未填写'}</div>
								</div>
								<div class="form-group">
									<label class="control-label" for="input-birthday">生日</label>
									<div>{$uinfo.birthday|time_format}</div>
								</div>
								<div class="form-group">
									<label class="control-label" for="input-user_url">电话</label>
									<div>{$uinfo.mobile|default='未填写'}</div>
								</div>
								<div class="form-group">
									<label class="control-label" for="input-signature">住址</label>
									<div>{$uinfo.address|default='未填写'}</div>
								</div>
								<!-- <div class="form-group">
									<a href="{:url('user/profile/edit')}" class="btn btn-primary">编辑</a>
								</div> -->
							</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<include file="public@footer" />
	</div>
<!-- /container -->
<include file="public@scripts" />
</body>
</html>